Switch from lazy_static to once_cell
authorFelix Krull <f_krull@gmx.de>
Thu, 23 Jul 2020 14:09:15 +0000 (16:09 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:55 +0000 (12:53 -0400)
rust-bindings/rust/Cargo.toml
rust-bindings/rust/src/lib.rs

index d3b0cc90051b0b8290ab60598100b14effcefbc9..89bb8f63ecb3fb97c5417403ca0455c7cdb5ca37 100644 (file)
@@ -34,12 +34,12 @@ members = [".", "sys"]
 [dependencies]
 libc = "0.2"
 bitflags = "1"
-lazy_static = "1.1"
 glib = "0.9.0"
 gio = "0.8.0"
 glib-sys = "0.9.1"
 gobject-sys = "0.9.1"
 gio-sys = "0.9.1"
+once_cell = "1.0"
 ostree-sys = { version = "0.5.4", path = "sys" }
 
 [dev-dependencies]
index 89e49dbc86eb05824e425147a2d2fb8ed8be608f..6046c7c3d0b48a86dcd7d782658698f149789f0e 100644 (file)
@@ -16,8 +16,7 @@ extern crate gio;
 extern crate libc;
 #[macro_use]
 extern crate bitflags;
-#[macro_use]
-extern crate lazy_static;
+extern crate once_cell;
 
 // code generated by gir
 #[rustfmt::skip]